﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="LinkmanListInfo.aspx.cs" Inherits="admin_LinkmanListInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
<!--
body {
	margin-left: 5px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
body,td,th {
	font-family: 新宋体;
	font-size: 12px;
}
a {
	font-size: 12px;
}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a:active {
	text-decoration: none;
}
.STYLE1 {
	color: #FFFFFF;
	font-weight: bold;
}
.STYLE2 {color: #FFFFFF; font-weight: bold; font-family: Geneva, Arial, Helvetica, sans-serif; }
.d {
	font-family: "新宋体";
	font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: underline;
}
.STYLE7 {
	font-size: 14px;
	color: #0033FF;
}
.itemhead
{
    background-image:url('../images/Snap1.jpg');
}
-->
</style>
    <base target="_self"></base>
</head>
<%     
        Response.Buffer = true;
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";   
%>
<body bgcolor="#eeeeee">
    <form id="form1" runat="server">
    <div>
        <table cellpadding="1" cellspacing="1" width="90%">
            <tr>
                <td background="../images/Snap1.jpg">
                    <asp:Label ID="Label1" runat="server" Text="联系人查询结果" Font-Bold="True" Font-Size="14px" ForeColor="Black"></asp:Label></td>
            </tr>
            <tr>
                <td valign="top">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
                        BorderColor="Black" BorderWidth="1px" CellPadding="3" GridLines="Horizontal" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowCommand="GridView1_RowCommand" Width="100%" EmptyDataText="没有找到相关联系人数据！">
                        <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
                        <Columns>
                            <asp:TemplateField HeaderText="姓名">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label1" runat="server" Text='<%# Eval("ShellUser.UserName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="性别">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label2" runat="server" Text='<%# Convert.ToInt32(Eval("Sex"))==1?"男":"女" %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="客户单位">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="Label4" runat="server" Text='<%# Eval("Client.ClientName") %>'></asp:Label>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="JobTelephone" HeaderText="工作电话" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:BoundField DataField="HandsetNumber" HeaderText="手机" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="电子邮件" >
                                <HeaderStyle CssClass="itemhead" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="操作">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CommandArgument='<%# Eval("LinkmanId") %>' CommandName="showInfo">详情</asp:LinkButton>
                                </ItemTemplate>
                                <HeaderStyle CssClass="itemhead" />
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle BackColor="White" ForeColor="Black" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
                        <PagerStyle BackColor="#E7E7FF" ForeColor="Black" HorizontalAlign="Right" CssClass="itemhead" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="Black" />
                        <AlternatingRowStyle BackColor="#F7F7F7" />
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td align="center" background="../images/Snap1.jpg" style="height: 24px">
                    <input id="btnClose" style="font-size: 12px" type="button" value="关闭" onclick="window.close()"/></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
